Skip to content

Add secret-ids arg in Thycotic import#2150

Merged
craiglurey merged 3 commits into
Keeper-Security:releasefrom
lthievenaz-keeper:thycotic-secret-ids-arg
Jun 17, 2026
Merged

Add secret-ids arg in Thycotic import#2150
craiglurey merged 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]`
@craiglurey
craiglurey merged commit 2a94cbb into Keeper-Security:release Jun 17, 2026
4 checks passed
sk-keeper pushed a commit that referenced this pull request Jun 23, 2026
* Add secret-ids argument for thycotic import

Add secret-ids arg to import command, to use for debugging Thycotic secret IDs

* Pass secret-ids arg from import command to thycotic import

Pass secret-ids arg from import command to thycotic import so it can be handled in the Thycotic import

* Add handling for secret-ids arg in 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]`
jpkeepersecurity pushed a commit that referenced this pull request Jul 3, 2026
* Add secret-ids argument for thycotic import

Add secret-ids arg to import command, to use for debugging Thycotic secret IDs

* Pass secret-ids arg from import command to thycotic import

Pass secret-ids arg from import command to thycotic import so it can be handled in the Thycotic import

* Add handling for secret-ids arg in 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]`
pvagare-ks pushed a commit that referenced this pull request Jul 16, 2026
* Add secret-ids argument for thycotic import

Add secret-ids arg to import command, to use for debugging Thycotic secret IDs

* Pass secret-ids arg from import command to thycotic import

Pass secret-ids arg from import command to thycotic import so it can be handled in the Thycotic import

* Add handling for secret-ids arg in 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.

2 participants