osc identity credential create
Creates a credential.
The following example shows how to create an EC2-style credential. The credential blob is a string that contains a JSON-serialized dictionary with the access and secret keys. This format is required when you specify the ec2 type. To specify other credentials, such as access_key, change the type and contents of the data blob.
Relationship: https://docs.openstack.org/api/openstack-identity/3/rel/credentials
Usage: osc identity credential create [OPTIONS] --blob <BLOB> --type <TYPE> --user-id <USER_ID>
Options:
--blob <BLOB>— The credential itself, as a serialized blob--id <ID>— The UUID for the credential--project-id <PROJECT_ID>— The ID for the project--no-project-id— Set explicit NULL for the project_id--type <TYPE>— The credential type, such asec2orcert. The implementation determines the list of supported types--user-id <USER_ID>— The ID of the user who owns the credential