Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 05:28 AM
Hi @Retired_mod ,
I tried executing following code:
SecreteScopeName = 'SecretScope'
KeyName = 'Key123'
version = '123456789abcdefghijklmn'
val = dbutils.secrets.get(SecreteScopeName, key=KeyName + version)It is giving me the below error:
IllegalArgumentException: Secret does not exist with scope: SecretScope and key: Key123123456789abcdefghijklmn
Looks like after appending the version to secret name, dbutils command is looking for this new key which is combination of name and version.