Constructs a new SecretsTask.
Optional
properties: 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
Static
createCreates a new SecretsTask instance using the specified properties.
Optional
properties: ISecretsTaskProperties to set
SecretsTask instance
Static
decodeDecodes a SecretsTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
SecretsTask
Static
decodeDecodes a SecretsTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SecretsTask
Static
encodeEncodes the specified SecretsTask message. Does not implicitly {@apilink oracle_job.OracleJob.SecretsTask.verify|verify} messages.
SecretsTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified SecretsTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.SecretsTask.verify|verify} messages.
SecretsTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a SecretsTask message from a plain object. Also converts values to their respective internal types.
Plain object
SecretsTask
Static
getGets the default type url for SecretsTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a SecretsTask message. Also converts values to other types if specified.
SecretsTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies 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