SecretSpec
Table of Contents
- $data : string|null
- Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)).
- $driver : Driver|null
- Driver represents a driver (network, logging, secrets).
- $labels : array<string|int, string>|null
- User-defined key/value metadata.
- $name : string|null
- User-defined name of the secret.
- $templating : Driver|null
- Driver represents a driver (network, logging, secrets).
- getData() : string|null
- Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)).
- getDriver() : Driver|null
- Driver represents a driver (network, logging, secrets).
- getLabels() : array<string|int, string>|null
- User-defined key/value metadata.
- getName() : string|null
- User-defined name of the secret.
- getTemplating() : Driver|null
- Driver represents a driver (network, logging, secrets).
- setData() : self
- Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)).
- setDriver() : self
- Driver represents a driver (network, logging, secrets).
- setLabels() : self
- User-defined key/value metadata.
- setName() : self
- User-defined name of the secret.
- setTemplating() : self
- Driver represents a driver (network, logging, secrets).
Properties
$data
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)).
protected
string|null
$data
$driver
Driver represents a driver (network, logging, secrets).
protected
Driver|null
$driver
$labels
User-defined key/value metadata.
protected
array<string|int, string>|null
$labels
$name
User-defined name of the secret.
protected
string|null
$name
$templating
Driver represents a driver (network, logging, secrets).
protected
Driver|null
$templating
Methods
getData()
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)).
public
getData() : string|null
other endpoints.
Return values
string|null —getDriver()
Driver represents a driver (network, logging, secrets).
public
getDriver() : Driver|null
Return values
Driver|null —getLabels()
User-defined key/value metadata.
public
getLabels() : array<string|int, string>|null
Return values
array<string|int, string>|null —getName()
User-defined name of the secret.
public
getName() : string|null
Return values
string|null —getTemplating()
Driver represents a driver (network, logging, secrets).
public
getTemplating() : Driver|null
Return values
Driver|null —setData()
Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)).
public
setData(string|null $data) : self
other endpoints.
Parameters
- $data : string|null
Return values
self —setDriver()
Driver represents a driver (network, logging, secrets).
public
setDriver(Driver|null $driver) : self
Parameters
- $driver : Driver|null
Return values
self —setLabels()
User-defined key/value metadata.
public
setLabels(array<string|int, string>|null $labels) : self
Parameters
- $labels : array<string|int, string>|null
Return values
self —setName()
User-defined name of the secret.
public
setName(string|null $name) : self
Parameters
- $name : string|null
Return values
self —setTemplating()
Driver represents a driver (network, logging, secrets).
public
setTemplating(Driver|null $templating) : self
Parameters
- $templating : Driver|null