View Source Dagger.Secret (dagger v0.13.3)

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

Summary

Functions

A unique identifier for this Secret.

The name of this secret.

The value of this secret.

Types

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

Functions

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

A unique identifier for this Secret.

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

The name of this secret.

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

The value of this secret.