Managing AFM to cloud object storage keys
Use the mmafmcoskeys command for the keys management in the AFM to cloud object storage. Each object has data, metadata, and keys. The object key (or key name) uniquely identifies the object in a bucket.
An access key and a secret key are needed to access a bucket on a cloud object server. By using the mmafmcoskeys command, the keys administration becomes simple. You can set these keys for specific buckets on specific servers. The keys can either be specified by using the command line or can be provided as an input key file. In this input key file, on each line an access key and a secret key are separated with a colon.
# mmchconfig afmObjKeyExpiration=1800 -i
You can also get a report of all access keys or secret keys that are stored for a bucket by using the mmafmcoskeys command. This report has a list of all keys across the cluster.
The following example shows how you can manage access and secret keys by using the mmafmcoskeys command. For more information, see the mmafmcoskeys command.