View Source Dagger.Secret (dagger v0.15.1)

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

t()

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

Functions

id(secret)

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

A unique identifier for this Secret.

name(secret)

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

The name of this secret.

plaintext(secret)

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

The value of this secret.