Skip to content

Commit 12b289b

Browse files
committed
refactor(kms): drop the now-unused [core] admin_token_hash from configs
1 parent a835e00 commit 12b289b

5 files changed

Lines changed: 0 additions & 7 deletions

File tree

dstack/crates/dstack-cli-core/src/config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ mandatory = false
135135
136136
[core]
137137
cert_dir = "/kms/certs"
138-
admin_token_hash = ""
139138
# single-node: the KMS does not self-attest to its own auth API before
140139
# bootstrap (it still attests the genesis keys via the guest agent, and app
141140
# auth + per-app quote checks are unaffected).

dstack/kms/dstack-app/compose-dev.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ configs:
6363
6464
[core]
6565
cert_dir = "/kms/certs"
66-
admin_token_hash = "${ADMIN_TOKEN_HASH}"
6766
6867
[core.image]
6968
verify = true

dstack/kms/dstack-app/compose-simple.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ configs:
3939
4040
[core]
4141
cert_dir = "/kms/certs"
42-
admin_token_hash = "${ADMIN_TOKEN_HASH}"
4342
4443
[core.image]
4544
verify = true

dstack/kms/dstack-app/entrypoint.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
set -e
99

1010
cat <<EOF > ./kms.toml
11-
[core]
12-
admin_token_hash = "${ADMIN_TOKEN_HASH}"
13-
1411
[core.image]
1512
verify = ${VERIFY_IMAGE}
1613
cache_dir = "./images"

dstack/test-scripts/snp-e2e-smoke.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@ mandatory = false
367367
368368
[core]
369369
cert_dir = "/dstack/kms-certs"
370-
admin_token_hash = "00"
371370
pccs_url = ""
372371
enforce_self_authorization = true
373372
amd_kds_base_url = "${DSTACK_SNP_SMOKE_KDS_BASE_URL:-}"

0 commit comments

Comments
 (0)