Secret
Initialize secret from DTO
Constructors
new Secret()
def initialize(secret_dto)
Initialize secret from DTO
The plaintext value is write-only and is never returned by the API, so it is not exposed here.
Parameters:
secret_dtoDaytonaApiClient:Secret -
Returns:
Secret- a new instance of Secret
Methods
id()
def id()
Returns:
String
name()
def name()
Returns:
String
description()
def description()
Returns:
String, nil
placeholder()
def placeholder()
Returns:
String- Opaque placeholder token injected as the env var value in Sandboxes. The placeholder is resolved to the real plaintext value only for the secret's allowed hosts.
hosts()
def hosts()
Returns:
Array\<String\>- Allowed hosts this secret may be sent to. Accepts exact hostnames and +*.+ wildcards (no ports).
created_at()
def created_at()
Returns:
String
updated_at()
def updated_at()
Returns:
String