- root token :
s.asQ2M2u8kefJAH7pTRK9VZuY
- sealing된 vault에는 루트 토큰(root token)으로도 로그인 불가
unseal된 Vault 서버에 로그인
$ vault login
Token (will be hidden):
WARNING! The VAULT_TOKEN environment variable is set! This takes precedence
over the value set by this command. To use the value set by this command,
unset the VAULT_TOKEN environment variable or set it to the token displayed
below.
Success! You are now authenticated. The token information displayed below
is already stored in the token helper. You do NOT need to run "vault login"
again. Future Vault requests will automatically use this token.
Key Value
--- -----
token s.asQ2M2u8kefJAH7pTRK9VZuY
token_accessor DhyddellBSpndis790yPJCIp
token_duration ∞
token_renewable false
token_policies ["root"]
identity_policies []
policies ["root"]
Sealing된 상태에서 Vault 서버에 로그인 → 로그인 시 에러 발생
$ vault login
Token (will be hidden):
Error authenticating: error looking up token: Error making API request.
URL: GET https://[테스트 도메인]:8200/v1/auth/token/lookup-self
Code: 503. Errors:
* Vault is sealed