How do I retrieve customer secret key created using identitydomains Python SDK
I have Python code that generates a customer secret key for the current user.
This uses the following steps:
1. Creates an identity domain client using oci.identity_domains.IdentityDomainsClient API call
2. Creates a customer service key using <identity domain client>.create_my_customer_secret_key API call
The response to this second call does not include the "secretKey" attribute. So I am unable to get the generated key and proceed with the next step.
When I perform this operation in the OCI Console, I get "secretKey" in the response.
How do I get this value using Python SDK? (I tested the same call using OCI CLI "oci identity-domains my-customer-secret-key create" and see the same behavior that I see using Python SDK).
Tagged:
0