Closed Future-Jim closed 6 months ago
@Future-Jim If you are still in need of this functionality my pull request to add it in was just merged to the master branch.
PR that adds this convenience method has been added, and will be in the next release.
The documentation here: https://duo.com/docs/adminapi#retrieve-secret-key states that duo_client_python should be used to access the endpoint /admin/v1/integrations/[integration_key]/skey.
However, I do not see this functionality in the duo_client_python repo.
Detailed Description
Include the method get_secret_key as per the documentation.
Use Case
This is useful for automation purposes, since without the secret key readily available via the API, manual interventions are required.
Workarounds
If Duo provides the authentication requirements for this endpoint, the workaround could be to manually generate the request instead of using the client.