Skip to content

Add secret-ids arg in Thycotic import#2150

Open
lthievenaz-keeper wants to merge 3 commits into
Keeper-Security:releasefrom
lthievenaz-keeper:thycotic-secret-ids-arg
Open

Add secret-ids arg in Thycotic import#2150
lthievenaz-keeper wants to merge 3 commits into
Keeper-Security:releasefrom
lthievenaz-keeper:thycotic-secret-ids-arg

Conversation

@lthievenaz-keeper

Copy link
Copy Markdown
Contributor

New PR for #2145 after Commander update

If user sets secret-ids, the import will:

Check if any of those IDs have come up in the lookup and would have been imported.
Import only the secret-ids list
This is useful to only import some secret IDs for testing, but also for debugging, because the /lookup API may not return all Thycotic secrets - eg if there is a security policy on them, even though they may still be fetched with the /v1/secrets API.

Usage:
String (comma separated IDs)
import --format thycotic server_name --secret-ids "123, 124,125"
Python List (strings or integers)
secret_ids=[123, 124, 125]

Add secret-ids arg to import command, to use for debugging Thycotic secret IDs
Pass secret-ids arg from import command to thycotic import so it can be handled in the Thycotic import
If user sets secret-ids, the import will:
- Check if any of those IDs have come up in the lookup and would have been imported.
- Import only the secret-ids set

This is useful for debugging, because the lookup API may not return all Thycotic secrets - eg if there a security policy on them, but they may still be fetched.

Usage:
String (comma separated IDs)
`import --format thycotic server_name --secret-ids "123, 124,125"`
Python List (strings or integers)
`secret_ids=[123, 124, 125]`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant