post
https://{hostname}/identity-management/v3/api-clients/self/credentials
This operation creates a new credential for your API client. Only you may create credentials for this client. Credentials are in active status when created, and expire two years later by default. However, when the API client inherits its permissions from Control Center, its credentials expire differently and follow the same rotation schedule for user passwords on those accounts. Run the Update a credential operation to change the expiration date, description, or status. Save the values from the response, such as the credentialId for future use. This is the only time you'll see the client secret. Save the credential at this time to avoid the need to create a new one.
