View Source Dagger.Secret (dagger v0.8.7)

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

Link to this section Summary

Functions

The 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()}

The identifier for this secret.

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

The value of this secret.