Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AES - Enum constant in enum class com.atlassian.secrets.api.SecretServiceType
- ATLASSIAN_PASSWORD_CIPHER_PROVIDER_PROPERTY_KEY - Static variable in interface com.atlassian.secrets.api.SecretStoreProvider
-
Deprecated.properties key that stores the cipher class
- ATLASSIAN_PASSWORD_CIPHER_PROVIDER_XML_KEY - Static variable in interface com.atlassian.secrets.api.SecretStoreProvider
-
Deprecated.xml key which can be used by products to store canonical class name
- AWS - Enum constant in enum class com.atlassian.secrets.api.SecretServiceType
B
- backendTypes() - Method in record class com.atlassian.secrets.api.SecretServiceConfiguration
-
Returns the value of the
backendTypesrecord component.
C
- Cipher - Interface in com.atlassian.db.config.password
-
Deprecated.since 2.0
- com.atlassian.db.config.password - package com.atlassian.db.config.password
- com.atlassian.secrets.api - package com.atlassian.secrets.api
D
- data() - Method in record class com.atlassian.secrets.api.FileWriteRequest
-
Returns the value of the
datarecord component. - decrypt(String) - Method in interface com.atlassian.db.config.password.Cipher
-
Deprecated.
- defaultBackend() - Method in record class com.atlassian.secrets.api.SecretServiceConfiguration
-
Returns the value of the
defaultBackendrecord component. - delete(String) - Method in interface com.atlassian.secrets.api.SecretDao
-
Deletes a sealed secret by its identifier.
- delete(String) - Method in interface com.atlassian.secrets.api.SecretService
-
Deletes the secret data associated with a unique identifier.
- delete(String) - Method in interface com.atlassian.secrets.api.SecretServiceBackend
-
Deletes the secret associated with the given identifier.
- DISABLED - Enum constant in enum class com.atlassian.secrets.api.SecretServiceState
E
- ENABLED - Enum constant in enum class com.atlassian.secrets.api.SecretServiceState
- encrypt(String) - Method in interface com.atlassian.db.config.password.Cipher
-
Deprecated.
- ENCRYPTED - Enum constant in enum class com.atlassian.secrets.api.SealedSecretFormat.SecretType
- equals(Object) - Method in record class com.atlassian.secrets.api.FileWriteRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.atlassian.secrets.api.SecretServiceConfiguration
-
Indicates whether some other object is "equal to" this one.
F
- file() - Method in record class com.atlassian.secrets.api.FileWriteRequest
-
Returns the value of the
filerecord component. - FileWriter - Interface in com.atlassian.secrets.api
-
The
FileWriterinterface provides a method for writing data to files. - FileWriteRequest - Record Class in com.atlassian.secrets.api
-
A request to write data to a file.
- FileWriteRequest(Path, Supplier<String>, boolean, Consumer<Boolean>) - Constructor for record class com.atlassian.secrets.api.FileWriteRequest
-
Creates an instance of a
FileWriteRequestrecord class. - from(String) - Static method in interface com.atlassian.secrets.api.SealedSecret
-
Deserializes a
Stringwhich was generated using theSealedSecret.toString()method. - fromString(String) - Method in interface com.atlassian.secrets.api.SealedSecretFormat.SerializationFormat
-
Convert a
Stringto aSealedSecretobject. - fromTextValue(String) - Static method in enum class com.atlassian.secrets.api.SecretServiceState
-
Returns the
SecretServiceStatecorresponding to the specified text value.
G
- get(String) - Method in interface com.atlassian.secrets.api.SecretDao
-
Retrieves a
SealedSecretby its identifier. - get(String) - Method in interface com.atlassian.secrets.api.SecretService
-
Retrieves the secret data associated with a unique identifier.
- get(String) - Method in interface com.atlassian.secrets.api.SecretStore
-
Deprecated.Used to load secrets saved by
SecretStore.store(String) - getBackendId() - Method in interface com.atlassian.secrets.api.SealedSecret
-
Returns the identifier of the backend used to seal the secret originally.
- getConfiguration() - Method in interface com.atlassian.secrets.api.SecretService
-
Returns a record describing the current configuration of the SecretService which can be used for analytics within a product.
- getDefaultSecretStoreClassName() - Method in interface com.atlassian.secrets.api.SecretStoreProvider
-
Deprecated.
- getFormat() - Static method in class com.atlassian.secrets.api.SealedSecretFormat
- getIdentifier() - Method in interface com.atlassian.secrets.api.SealedSecret
-
Returns the identifier of a secret originally sealed by the
SecretServiceBackend.seal(String, String)method - getIdsForBackend(String) - Method in interface com.atlassian.secrets.api.SecretDao
-
Retrieves a set of secret identifiers for all
SealedSecretobjects store within a specific backend. - getInstance(String) - Method in interface com.atlassian.secrets.api.SecretStoreProvider
-
Deprecated.Creates a new instance of
SecretStoreevery time it's called. - getPrefix() - Method in enum class com.atlassian.secrets.api.SealedSecretFormat.SecretType
- getState() - Static method in interface com.atlassian.secrets.api.SecretService
-
Retrieves the current state of the Secret Service based on a system property.
- getType() - Method in interface com.atlassian.secrets.api.SecretServiceBackend
-
Returns the type of the backend (to be used by analytics).
H
- hashCode() - Method in record class com.atlassian.secrets.api.FileWriteRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.atlassian.secrets.api.SecretServiceConfiguration
-
Returns a hash code value for this object.
I
- ID - Enum constant in enum class com.atlassian.secrets.api.SealedSecretFormat.SecretType
- ignoreIfExists() - Method in record class com.atlassian.secrets.api.FileWriteRequest
-
Returns the value of the
ignoreIfExistsrecord component. - isSealedSecret(String) - Static method in interface com.atlassian.secrets.api.SealedSecret
-
Examines a String to check whether it has a
SealedSecretprefix and would be expected to be a serializedSealedSecret.
O
- onFileCreated() - Method in record class com.atlassian.secrets.api.FileWriteRequest
-
Returns the value of the
onFileCreatedrecord component.
P
- PREFIX_FORMAT - Static variable in enum class com.atlassian.secrets.api.SealedSecretFormat.SecretType
- PREFIX_PATTERN - Static variable in class com.atlassian.secrets.api.SealedSecretFormat
- put(String, String) - Method in interface com.atlassian.secrets.api.SecretService
-
Stores a secret associated with a unique identifier.
- put(Set<SealedSecret>) - Method in interface com.atlassian.secrets.api.SecretDao
-
Stores a
SetofSealedSecretobjects.
S
- seal(String, String) - Method in interface com.atlassian.secrets.api.SecretServiceBackend
-
Securely seal a plain text string.
- SealedSecret - Interface in com.atlassian.secrets.api
-
An object which represents the information required to unseal a secret which has previously been sealed by a
SecretServiceBackendimplementation. - SealedSecretFormat - Class in com.atlassian.secrets.api
-
Class to manage the serialization format for
SealedSecretobjects. - SealedSecretFormat() - Constructor for class com.atlassian.secrets.api.SealedSecretFormat
- SealedSecretFormat.SecretType - Enum Class in com.atlassian.secrets.api
- SealedSecretFormat.SerializationFormat - Interface in com.atlassian.secrets.api
-
An interface which is used to convert between
SealedSecretobjects andStrings. - SECRET_SERVICE_STATE_SYSTEM_PROP - Static variable in interface com.atlassian.secrets.api.SecretService
- SecretDao - Interface in com.atlassian.secrets.api
-
An interface for managing
SealedSecretobjects. - SecretService - Interface in com.atlassian.secrets.api
-
An API for managing secrets.
- SecretServiceBackend - Interface in com.atlassian.secrets.api
-
An API for securely managing sensitive
Stringdata. - SecretServiceConfiguration - Record Class in com.atlassian.secrets.api
-
A record for a simplified representation of the current configuration of a
SecretService. - SecretServiceConfiguration(SecretServiceType, Set<SecretServiceType>) - Constructor for record class com.atlassian.secrets.api.SecretServiceConfiguration
-
Creates an instance of a
SecretServiceConfigurationrecord class. - SecretServiceDisabledException - Exception in com.atlassian.secrets.api
-
A
RuntimeExceptionthat is thrown whenSecretServiceis unexpectedly used while configured in disabled. - SecretServiceDisabledException(String) - Constructor for exception com.atlassian.secrets.api.SecretServiceDisabledException
- SecretServiceDisabledException(String, Throwable) - Constructor for exception com.atlassian.secrets.api.SecretServiceDisabledException
- SecretServiceDisabledException(Throwable) - Constructor for exception com.atlassian.secrets.api.SecretServiceDisabledException
- SecretServiceException - Exception in com.atlassian.secrets.api
-
A
RuntimeExceptionexception type that is thrown when there is a problem interacting with theSecretServiceAPI. - SecretServiceException(String) - Constructor for exception com.atlassian.secrets.api.SecretServiceException
- SecretServiceException(String, Throwable) - Constructor for exception com.atlassian.secrets.api.SecretServiceException
- SecretServiceException(Throwable) - Constructor for exception com.atlassian.secrets.api.SecretServiceException
- SecretServiceState - Enum Class in com.atlassian.secrets.api
-
Enum representing the state of a Secret Service.
- SecretServiceType - Enum Class in com.atlassian.secrets.api
-
This enum represents the different types of secret services that can be used.
- SecretStore - Interface in com.atlassian.secrets.api
-
Deprecated.4.0.0
- SecretStoreException - Exception in com.atlassian.secrets.api
-
Deprecated.since 4.0.0
- SecretStoreException(String) - Constructor for exception com.atlassian.secrets.api.SecretStoreException
-
Deprecated.
- SecretStoreException(String, Throwable) - Constructor for exception com.atlassian.secrets.api.SecretStoreException
-
Deprecated.
- SecretStoreException(Throwable) - Constructor for exception com.atlassian.secrets.api.SecretStoreException
-
Deprecated.
- SecretStoreProvider - Interface in com.atlassian.secrets.api
-
Deprecated.since 4.0.0
- setFormat(SealedSecretFormat.SerializationFormat) - Static method in class com.atlassian.secrets.api.SealedSecretFormat
-
Set the serialization format to use across the application.
- store(String) - Method in interface com.atlassian.secrets.api.SecretStore
-
Deprecated.Used to store data in plain text.
T
- toString() - Method in record class com.atlassian.secrets.api.FileWriteRequest
-
Returns a string representation of this record class.
- toString() - Method in interface com.atlassian.secrets.api.SealedSecret
-
Serializes a
SealedSecretto aStringformat so that it can be stored. - toString() - Method in record class com.atlassian.secrets.api.SecretServiceConfiguration
-
Returns a string representation of this record class.
- toString(SealedSecretFormat.SecretType, SealedSecret) - Method in interface com.atlassian.secrets.api.SealedSecretFormat.SerializationFormat
-
Convert a
SealedSecretobject to aString.
U
- unseal(SealedSecret) - Method in interface com.atlassian.secrets.api.SecretServiceBackend
-
Unseal the secret returning its plaintext value
V
- valueOf(String) - Static method in enum class com.atlassian.secrets.api.SealedSecretFormat.SecretType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.secrets.api.SecretServiceState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.secrets.api.SecretServiceType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.atlassian.secrets.api.SealedSecretFormat.SecretType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.secrets.api.SecretServiceState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.secrets.api.SecretServiceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VAULT - Enum constant in enum class com.atlassian.secrets.api.SecretServiceType
W
- write(FileWriteRequest) - Method in interface com.atlassian.secrets.api.FileWriter
-
Writes data to a file as specified by the given
FileWriteRequest.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form