Secret Field

Introduce, guarda y borra un secreto, como una clave de API, con un estado de configurado / sin configurar.

Disponible en
  • Angular: disponible
  • Vue: disponible
  • React: disponible
  • React Native: aún no disponible

Uso

API key Not set

Stored in the system keychain and never logged.

Workspace token Not set

Importación

ts
import {
  SoneSecretFieldComponent,
} from "@surface-one/angular/secret-field";

Referencia de la API

SoneSecretFieldComponentComponente

Selector
sone-secret-field
Inputs
NombreTipo Predeterminado
hasKeyboolean | nullnull
busybooleanfalse
errorstring | nullnull
label—$localize`Status`
placeholderstring""
ariaLabelstring | nullnull
helpstring | nullnull
setLabel—$localize`Key set ✓`
unsetLabel—$localize`Not set`
saveLabel—$localize`Save key`
autocompletestring"off"
clearablebooleanfalse
Outputs
NombreTipo
save

The parent must not log or store this outside the Keychain.

string
clearvoid