Constructs a new SecretsTask.
Optionalproperties: ISecretsTaskProperties to set
The authority of the secrets that are to be requested.
The url of the server to request secrets from. The default is https://api.secrets.switchboard.xyz.
Converts this SecretsTask to JSON.
JSON object
StaticcreateCreates a new SecretsTask instance using the specified properties.
Optionalproperties: ISecretsTaskProperties to set
SecretsTask instance
StaticdecodeDecodes a SecretsTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
SecretsTask
StaticdecodeDecodes a SecretsTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SecretsTask
StaticencodeEncodes the specified SecretsTask message. Does not implicitly {@apilink oracle_job.OracleJob.SecretsTask.verify|verify} messages.
SecretsTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified SecretsTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.SecretsTask.verify|verify} messages.
SecretsTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a SecretsTask message from a plain object. Also converts values to their respective internal types.
Plain object
SecretsTask
StaticgetGets the default type url for SecretsTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a SecretsTask message. Also converts values to other types if specified.
SecretsTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a SecretsTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Securely request secrets from a Switchboard SecretsServer that are owned by a specific authority. Any secrets that are returned for the current feed will then be unwrapped into variables to be accessed later.
Input: None
Returns: The input
Example: SecretsTask