├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ ├── codeql-analysis.yml │ └── maven.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── SECURITY.md ├── config └── checkstyle │ └── java.header ├── pom.xml ├── sample ├── pom.xml └── src │ └── main │ └── java │ └── com │ └── microsoft │ └── credentialstorage │ └── sample │ └── StoredCredentialApp.java └── src ├── main └── java │ ├── com │ └── microsoft │ │ └── credentialstorage │ │ ├── SecretStore.java │ │ ├── StorageProvider.java │ │ ├── implementation │ │ ├── macosx │ │ │ ├── KeychainSecurityBackedCredentialStore.java │ │ │ ├── KeychainSecurityBackedTokenPairStore.java │ │ │ ├── KeychainSecurityBackedTokenStore.java │ │ │ └── KeychainSecurityCliStore.java │ │ ├── memory │ │ │ └── InsecureInMemoryStore.java │ │ ├── posix │ │ │ ├── internal │ │ │ │ ├── GLibInitializer.java │ │ │ │ └── GLibLibrary.java │ │ │ ├── keyring │ │ │ │ ├── GnomeKeyringBackedCredentialStore.java │ │ │ │ ├── GnomeKeyringBackedSecureStore.java │ │ │ │ ├── GnomeKeyringBackedTokenPairStore.java │ │ │ │ ├── GnomeKeyringBackedTokenStore.java │ │ │ │ └── GnomeKeyringLibrary.java │ │ │ └── libsecret │ │ │ │ ├── LibSecretBackedCredentialStore.java │ │ │ │ ├── LibSecretBackedSecureStore.java │ │ │ │ ├── LibSecretBackedTokenPairStore.java │ │ │ │ ├── LibSecretBackedTokenStore.java │ │ │ │ └── LibSecretLibrary.java │ │ └── windows │ │ │ ├── CredAdvapi32.java │ │ │ ├── CredManagerBackedCredentialStore.java │ │ │ ├── CredManagerBackedSecureStore.java │ │ │ ├── CredManagerBackedTokenPairStore.java │ │ │ └── CredManagerBackedTokenStore.java │ │ └── model │ │ ├── ClearableValue.java │ │ ├── StoredCredential.java │ │ ├── StoredSecret.java │ │ ├── StoredToken.java │ │ ├── StoredTokenPair.java │ │ └── StoredTokenType.java │ └── module-info.java └── test └── java └── com └── microsoft └── credentialstorage ├── StorageProviderTest.java └── implementation ├── macosx ├── KeychainSecurityBackedCredentialStoreIT.java ├── KeychainSecurityBackedTokenPairStoreIT.java └── KeychainSecurityBackedTokenStoreIT.java ├── posix ├── internal │ └── GnomeKeyringLibraryIT.java ├── keyring │ ├── GnomeKeyringBackedCredentialStoreIT.java │ ├── GnomeKeyringBackedTokenPairStoreIT.java │ └── GnomeKeyringBackedTokenStoreIT.java └── libsecret │ ├── LibSecretBackedCredentialStoreIT.java │ ├── LibSecretBackedTokenPairStoreIT.java │ ├── LibSecretBackedTokenStoreIT.java │ └── LibSecretLibraryIT.java └── windows ├── CredAdvapi32IT.java ├── CredManagerBackedCredentialStoreIT.java ├── CredManagerBackedTokenPairStoreIT.java ├── CredManagerBackedTokenStoreIT.java └── CredManagerBackedTokenStoreTest.java /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/maven.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/.github/workflows/maven.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/NOTICE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/SECURITY.md -------------------------------------------------------------------------------- /config/checkstyle/java.header: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/config/checkstyle/java.header -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/pom.xml -------------------------------------------------------------------------------- /sample/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/sample/pom.xml -------------------------------------------------------------------------------- /sample/src/main/java/com/microsoft/credentialstorage/sample/StoredCredentialApp.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/sample/src/main/java/com/microsoft/credentialstorage/sample/StoredCredentialApp.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/SecretStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/SecretStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/StorageProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/StorageProvider.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedCredentialStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedCredentialStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedTokenPairStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedTokenPairStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedTokenStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedTokenStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityCliStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityCliStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/memory/InsecureInMemoryStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/memory/InsecureInMemoryStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/internal/GLibInitializer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/internal/GLibInitializer.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/internal/GLibLibrary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/internal/GLibLibrary.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedCredentialStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedCredentialStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedSecureStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedSecureStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedTokenPairStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedTokenPairStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedTokenStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedTokenStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringLibrary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringLibrary.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedCredentialStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedCredentialStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedSecureStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedSecureStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedTokenPairStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedTokenPairStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedTokenStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedTokenStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretLibrary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretLibrary.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/windows/CredAdvapi32.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/windows/CredAdvapi32.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedCredentialStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedCredentialStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedSecureStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedSecureStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenPairStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenPairStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenStore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenStore.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/model/ClearableValue.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/model/ClearableValue.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/model/StoredCredential.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/model/StoredCredential.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/model/StoredSecret.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/model/StoredSecret.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/model/StoredToken.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/model/StoredToken.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/model/StoredTokenPair.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/model/StoredTokenPair.java -------------------------------------------------------------------------------- /src/main/java/com/microsoft/credentialstorage/model/StoredTokenType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/com/microsoft/credentialstorage/model/StoredTokenType.java -------------------------------------------------------------------------------- /src/main/java/module-info.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/main/java/module-info.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/StorageProviderTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/StorageProviderTest.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedCredentialStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedCredentialStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedTokenPairStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedTokenPairStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedTokenStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/macosx/KeychainSecurityBackedTokenStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/posix/internal/GnomeKeyringLibraryIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/posix/internal/GnomeKeyringLibraryIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedCredentialStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedCredentialStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedTokenPairStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedTokenPairStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedTokenStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/posix/keyring/GnomeKeyringBackedTokenStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedCredentialStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedCredentialStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedTokenPairStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedTokenPairStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedTokenStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretBackedTokenStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretLibraryIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/posix/libsecret/LibSecretLibraryIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/windows/CredAdvapi32IT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/windows/CredAdvapi32IT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedCredentialStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedCredentialStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenPairStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenPairStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenStoreIT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenStoreIT.java -------------------------------------------------------------------------------- /src/test/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenStoreTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/credential-secure-storage-for-java/HEAD/src/test/java/com/microsoft/credentialstorage/implementation/windows/CredManagerBackedTokenStoreTest.java --------------------------------------------------------------------------------