osc identity application-credential create

Creates an application credential for a user on the project to which the current token is scoped.

Relationship: https://docs.openstack.org/api/openstack-identity/3/rel/application_credentials

Usage: osc identity application-credential create [OPTIONS] --name <NAME> <--user-name <USER_NAME>|--user-id <USER_ID>|--current-user>

Options:

  • --user-name <USER_NAME> — User Name

  • --user-id <USER_ID> — User ID

  • --current-user — Current authenticated user

  • --access-rules <JSON> — A list of access_rules objects

  • --description <DESCRIPTION> — A description of the application credential’s purpose

  • --expires-at <EXPIRES_AT> — An optional expiry time for the application credential. If unset, the application credential does not expire

  • --name <NAME> — The name of the application credential. Must be unique to a user

  • --roles <JSON> — An optional list of role objects, identified by ID or name. The list may only contain roles that the user has assigned on the project. If not provided, the roles assigned to the application credential will be the same as the roles in the current token

  • --secret <SECRET> — The secret that the application credential will be created with. If not provided, one will be generated

  • --unrestricted <UNRESTRICTED> — An optional flag to restrict whether the application credential may be used for the creation or destruction of other application credentials or trusts. Defaults to false

    Possible values: true, false