secrets.write
Bases: ABC
write(key, value, scope=None)
abstractmethod
Write a secret value for the given key and optional scope
Parameters:
Name | Type | Description | Default |
---|---|---|---|
key
|
str
|
The key name of the secret to write |
required |
value
|
str
|
The secret value to write |
required |
scope
|
Optional[str]
|
Optional scope/namespace for the secret |
None
|
Returns:
Type | Description |
---|---|
None
|
None |