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

Feature: Extract System Account tokens into the pact_user resource #29

Open
mefellows opened this issue Jan 19, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@mefellows
Copy link
Contributor

Currently, there is no way to extract the API tokens for System Accounts. Tokens can be extracted via the following undocumented API: <base url>/admin/system-accounts/<uuid>/tokens.

One way to achieve this is to detect in the pact_user resource the type == "system", and if it is a system account additionally fetch and store the tokens.

This way, the value could be extracted from the terraform state file.

@mefellows mefellows added the enhancement New feature or request label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant