cwltool.secrets
Minimal in memory storage of secrets.
Module Contents
Classes
Minimal implementation of a secret storage. |
- class cwltool.secrets.SecretStore
Minimal implementation of a secret storage.
- add(value)
Add the given value to the store.
Returns a placeholder value to use until the real value is needed.
- Parameters:
value (Optional[cwltool.utils.CWLOutputType]) –
- Return type:
Optional[cwltool.utils.CWLOutputType]
- store(secrets, job)
Sanitize the job object of any of the given secrets.
- Parameters:
secrets (List[str]) –
job (cwltool.utils.CWLObjectType) –
- Return type:
None
- has_secret(value)
Test if the provided document has any of our secrets.
- Parameters:
value (cwltool.utils.CWLOutputType) –
- Return type:
- retrieve(value)
Replace placeholders with their corresponding secrets.
- Parameters:
value (cwltool.utils.CWLOutputType) –
- Return type:
cwltool.utils.CWLOutputType