View Source Dagger.Secret (dagger v0.9.11)

A reference to a secret value, which can be handled more safely than the value itself.

Link to this section Summary

Functions

A unique identifier for this Secret.

The value of this secret.

Link to this section Types

@type t() :: %Dagger.Secret{client: term(), selection: term()}

Link to this section Functions

@spec id(t()) :: {:ok, Dagger.SecretID.t()} | {:error, term()}

A unique identifier for this Secret.

@spec plaintext(t()) :: {:ok, Dagger.String.t()} | {:error, term()}

The value of this secret.