evroc storage bucket get-s3-credentials

Get S3 credentials

Synopsis

Get S3 credentials

The credentials are by default valid for 1 hour. Use the duration flag to request credentials with a different lifetime, between 15 minutes and 12 hours.

evroc storage bucket get-s3-credentials [flags]

Examples


# Get S3 credentials for the currently logged in user valid for buckets in the
# current project. Writes the credentials to a file specified in the
# output argument. The credentials are valid for 1 hour by default.

evroc storage bucket get-s3-credentials

# Get S3 credentials valid for 12 hours

evroc storage bucket get-s3-credentials --duration 12h
		

Options

      --duration duration   Duration for how long the S3 credentials are valid (15m to 12h) (default 1h0m0s)
  -h, --help                help for get-s3-credentials
      --path string         Path to the S3 credentials file (default "~/.evroc/credentials.ini")

Options inherited from parent commands

      --config string   Path to the evroc config file (default "~/.evroc/config.yaml")

SEE ALSO