Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to access "Generate One Time Password" functionality via new get-tssSecretTotpCode function? #375

Open
TryTryAgain opened this issue Oct 2, 2023 · 2 comments
Assignees
Labels
feature request New feature or request new command issue asking for a new command

Comments

@TryTryAgain
Copy link

Summarize Functionality

As seen here:
https://docs.delinea.com/online-help/secret-server/authentication/two-factor-authentication/totp/viewing-a-totp-for-a-web-secret/index.htm?Highlight=generate%20one%20time%20password

...we have secrets setup with TOTP's and are able to use them via the WebUI but I'm not sure if it's accessible via the API. If not, can you help push to get that added? If it is added, can you please point me in the right direction to accomplish it manually/REST direct? And/or can it be added to this fine module you have here?

Is this a wrapper command that will utilize current commands already in the module?

None

Is this a command based on a REST API endpoint?

Yes

Is the endpoint only found in a specific version of Secret Server

Yes

Technical Details

Is there any way to retrieve the MFA programmatically? Please consider adding it, let me know if you have any questions or need any more info...thanks!

@TryTryAgain TryTryAgain added feature request New feature or request new command issue asking for a new command labels Oct 2, 2023
@TryTryAgain
Copy link
Author

I've been able to find/confirm this is available at /api/v1/one-time-password-code/$secretId

@jagger jagger self-assigned this Jan 22, 2024
@jagger
Copy link
Contributor

jagger commented Jan 22, 2024

Function name would be get-tssSecretTotpCode

@TryTryAgain TryTryAgain changed the title Ability to access "Generate One Time Password" functionality via new get-totp method? Ability to access "Generate One Time Password" functionality via new get-tssSecretTotpCode function? Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request new command issue asking for a new command
Projects
None yet
Development

No branches or pull requests

2 participants