クラス VaultVersionedKeyValueTemplate
java.lang.ObjectSE
org.springframework.vault.core.VaultVersionedKeyValueTemplate
- 実装されたすべてのインターフェース:
VaultKeyValueOperationsSupport
,VaultVersionedKeyValueOperations
public class VaultVersionedKeyValueTemplate
extends ObjectSE
implements VaultVersionedKeyValueOperations
VaultVersionedKeyValueOperations
のデフォルト実装。- 導入:
- 2.1
- 作成者:
- Mark Paluch, Maciej Drozdzowski, Jeroen Willemsen
ネストされたクラスのサマリー
インターフェース org.springframework.vault.core.VaultKeyValueOperationsSupport から継承されたネストクラス / インターフェース
VaultKeyValueOperationsSupport.KeyValueBackend
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
path
でシークレットを削除します。void
delete
(StringSE path, Versioned.Version... versionsToDelete) path
でシークレットのversions
を 1 つ以上削除します。void
destroy
(StringSE path, Versioned.Version... versionsToDelete) path
でシークレットの指定されたversions
を完全に削除します。get
(StringSE path, Versioned.Version version) path
でリクエストされたシークレットのVersioned.Version
を読み取ります。<T> Versioned<T>
get
(StringSE path, Versioned.Version version, ClassSE<T> responseType) Vault パスからキーを列挙します。versioned secret
をpath
に書き込みます。void
undelete
(StringSE path, Versioned.Version... versionsToDelete) path
でシークレットの 1 つまたは複数のversions
を復元 (復元) します。クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.vault.core.VaultKeyValueOperationsSupport から継承されたメソッド
delete, getApiVersion, list
インターフェース org.springframework.vault.core.VaultVersionedKeyValueOperations から継承されたメソッド
get, get
コンストラクターの詳細
VaultVersionedKeyValueTemplate
- パラメーター:
vaultOperations
- null であってはなりません。path
- 空または null であってはなりません。
メソッドの詳細
get
インターフェースからコピーされた説明:VaultVersionedKeyValueOperations
path
でリクエストされたシークレットのVersioned.Version
を読み取ります。- 次で指定:
- インターフェース
VaultVersionedKeyValueOperations
のget
- パラメーター:
path
- null であってはなりません。version
- null であってはなりません。- 戻り値:
- データ。パスが存在しない場合は null になる可能性があります。
get
@Nullable public <T> Versioned<T> get(StringSE path, Versioned.Version version, ClassSE<T> responseType) インターフェースからコピーされた説明:VaultVersionedKeyValueOperations
- 次で指定:
- インターフェース
VaultVersionedKeyValueOperations
のget
- パラメーター:
path
- null であってはなりません。version
- null であってはなりません。responseType
- null であってはなりません。- 戻り値:
- データ。パスが存在しない場合は null になる可能性があります。
put
インターフェースからコピーされた説明:VaultVersionedKeyValueOperations
versioned secret
をpath
に書き込みます。body
はプレーンシークレット (マップなど) またはVersioned
オブジェクトのいずれかです。Versioned
を使用すると、Compare-and-Set (CAS) のバージョン管理が適用されます。- 次で指定:
- インターフェース
VaultVersionedKeyValueOperations
のput
- パラメーター:
path
- null であってはなりません。body
- null であってはなりません。- 戻り値:
- 結果の
Versioned.Metadata
。
delete
インターフェースからコピーされた説明:VaultVersionedKeyValueOperations
path
でシークレットのversions
を 1 つ以上削除します。- 次で指定:
- インターフェース
VaultVersionedKeyValueOperations
のdelete
- パラメーター:
path
- null であってはなりません。versionsToDelete
- null または空であってはなりません。
undelete
インターフェースからコピーされた説明:VaultVersionedKeyValueOperations
path
でシークレットの 1 つまたは複数のversions
を復元 (復元) します。- 次で指定:
- インターフェース
VaultVersionedKeyValueOperations
のundelete
- パラメーター:
path
- null であってはなりません。versionsToDelete
- null または空であってはなりません。
destroy
インターフェースからコピーされた説明:VaultVersionedKeyValueOperations
path
でシークレットの指定されたversions
を完全に削除します。- 次で指定:
- インターフェース
VaultVersionedKeyValueOperations
のdestroy
- パラメーター:
path
- null であってはなりません。versionsToDelete
- null または空であってはなりません。
opsForKeyValueMetadata
インターフェースからコピーされた説明:VaultVersionedKeyValueOperations
- 次で指定:
- インターフェース
VaultVersionedKeyValueOperations
のopsForKeyValueMetadata
- 戻り値:
- Vault キー / 値メタデータバックエンドと対話するための操作インターフェース
list
インターフェースからコピーされた説明:VaultKeyValueOperationsSupport
Vault パスからキーを列挙します。- パラメーター:
path
- null であってはなりません。- 戻り値:
- データ。パスが存在しない場合は null になる可能性があります。
getApiVersion
- 戻り値:
- 使用された API バージョン。
delete
インターフェースからコピーされた説明:VaultKeyValueOperationsSupport
path
でシークレットを削除します。- 次で指定:
- インターフェース
VaultKeyValueOperationsSupport
のdelete
- パラメーター:
path
- null であってはなりません。