Globus Connect Server User Credentials S3 Keys Add
Name
globus-connect-server user-credentials s3-keys-add - Associate S3 keys with specific buckets and objects via a matching prefix.
Description
The globus-connect-server user-credentials s3-keys-add command allows users to associate an S3 key with a set of path prefixes.
Multiple S3 keys can be associated with a user credential. Globus Connect selects the key to use by comparing the virtualized path (<bucket>/<object>) of the object being accessed with a list of all path prefixes. If a match is made the key associated with the path prefix is selected. If no match is found the default key is used.
Key information can be provided on the command-line using the --s3-access-key-id and --s3-secret-key command-line options, but if omitted, this command will prompt for the values.
See Globus S3 Connector for more information.
Options
- -h, --help
-
Show help message and exit.
- --version
-
Show the version and exit.
- --s3-access-key-id KEY_ID
-
S3 Access Key ID. If not provided, this command will prompt for it
- --s3-secret-key SECRET_KEY
-
S3 secret key. If not provided, this command will prompt for it
- --prefix
-
The prefix of all S3 bucket/object path to use with this key. This command is additive and can be passed multiple times.
- --use-explicit-host IP_ADDRESS
-
IP address of the GCS node to use for this request. If not specified, any available GCS node in the endpoint will be used.
Example
This example adds a S3 key and a set of <bucket/object> prefixes for matching.
globus-connect-server user-credentials s3-keys-add s3-keys-add 4DB9FB89-990C-492D-98B6-F7F2BFCB9FD6 --prefix /mybucket/thisobject/dir S3 access key id: ASIEENGI3AARAIP2IENEEMUE7ECA S3 secret key: ohCheul8the7Ahmochohbe9Kthu6Gue9