CmdID / aws / aws s3control
aws s3control get-data-access
Returns a temporary access credential from S3 Access Grants to the grantee or client application. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--account-idThe Amazon Web Services account ID of the S3 Access Grants instance.--audit-contextThe context to identify the job or query associated with the credential request.--duration-secondsThe session duration, in seconds, of the temporary access credential that S3 Access Grants vends to the grantee or client application.--instance-scopeThe scope of S3 Access Grants instances to search for a grant matching the requested S3 URI path.--permissionThe type of permission granted to your S3 data, which can be set to one of the following values: READ – Grant read-only access to the S3 data.--privilegeThe scope of the temporary access credential that S3 Access Grants vends to the grantee or client application.--target-typeThe type of Target.--targetThe S3 URI path of the data to which you are requesting temporary access credentials.