Interface LegacyCredential
Deprecated.
A credential used to access external resources such as Git repositories or the Kubernetes control plane.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
enabled()
Deprecated.Returns whether thisLegacyCredential
is enabled.id()
Deprecated.Returns the ID of the credential.toNewCredential
(String name) Deprecated.Converts thisLegacyCredential
into a newCredential
.Deprecated.Returns a newLegacyCredential
that does not contain any sensitive information.
-
Method Details
-
id
String id()Deprecated.Returns the ID of the credential. -
enabled
boolean enabled()Deprecated.Returns whether thisLegacyCredential
is enabled. -
toNewCredential
Deprecated.Converts thisLegacyCredential
into a newCredential
. -
withoutSecret
LegacyCredential withoutSecret()Deprecated.Returns a newLegacyCredential
that does not contain any sensitive information.
-
Credential
instead.