Skip to content

Commit ea1b8c9

Browse files
committed
chore: removed secret referencing code in the README example as its handled by the SDK
1 parent d764f28 commit ea1b8c9

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Diff for: README.md

-15
Original file line numberDiff line numberDiff line change
@@ -111,21 +111,6 @@ result = phase.delete_secret(delete_options)
111111
print(f"Delete result: {result}")
112112
```
113113

114-
### Resolve Secret References
115-
116-
Resolve references in secret values:
117-
118-
```python
119-
get_options = GetAllSecretsOptions(
120-
env_name="Development",
121-
app_name="Your App Name"
122-
)
123-
secrets = phase.get_all_secrets(get_options)
124-
resolved_secrets = phase.resolve_references(secrets, "Development", "Your App Name")
125-
for secret in resolved_secrets:
126-
print(f"Key: {secret.key}, Resolved Value: {secret.value}")
127-
```
128-
129114
## Error Handling
130115

131116
The SDK methods may raise exceptions for various error conditions. It's recommended to wrap SDK calls in try-except blocks to handle potential errors:

0 commit comments

Comments
 (0)