dcloud s3 temporary-credentials createCreate temporary S3 credentials (15 minutes to 12 hours, default 1 hour)
IAM s3:CreateTemporaryCredentialsChanges state
Returns accessKeyId, secretAccessKey, sessionToken and expiresAt once. Every S3 request must carry the token as a signed x-amz-security-token (AWS_SESSION_TOKEN in the AWS CLI and SDKs). They are never listed and cannot be revoked; they expire.
Synopsis
dcloud s3 temporary-credentials create [flags]Flags
--duration-secondsOptionalnumber
Lifetime in seconds, 900–43200 (default 3600)
Constraints: integer, 900-43200
--descriptionOptionalstring
What the credentials are for
Constraints: max 200 chars
Example
dcloud s3 temporary-credentials createGenerated from the API description, the same one the API checks requests against and the CLI is built from.