84b522bc06
We are in the process of creating an api to allow users to manage their accounts programmatically. We would like to use api keys for authorization. We were originally going to create an entirely new table for these api keys, but seeing as we already have 2 other tables for keys/tokens, api_keys and oauth_tokens, we thought it might be better to use one of these. We're using oauth_tokens. We create a new oidc.OAuthTokenKind for account management api keys: KindAccountManagementTokenV0. We made the key versioned because we likely want to improve the implementation in the future, but we want to get something functional out the door ASAP because the account management api feature is highly desired. Add a new method to oidc.OAuthTokens interface for revoking v0 account management api keys, RevokeAccountManagementTokenV0. Add update method to dbx implementation to allow updating the expiration. We will revoke these keys by setting the expiration to 0 so they are expired. Change-Id: Ideb8ae04b23aa55d5825b064b5e43e32eadc1fba |
||
---|---|---|
.. | ||
testdata | ||
tests | ||
waitlist | ||
build-wasm.sh | ||
cert-gating.sh | ||
check-package-lock.sh | ||
deploy-storagenode.sh | ||
deploy-watchtower.sh | ||
draft-release.sh | ||
gerrit-cla.py | ||
install-awscli.sh | ||
pg-to-crdb.go | ||
postgres-dev.sh | ||
redis-server.sh | ||
release.sh | ||
tag-release.sh | ||
test-backwards.sh | ||
test-billing.sh | ||
test-certificates.sh | ||
test-network-stalls.go | ||
test-sim-backwards-dev.sh | ||
test-sim-backwards.sh | ||
test-sim-dev.sh | ||
test-sim-redis-up-and-down-dev.sh | ||
test-sim-redis-up-and-down.sh | ||
test-sim.sh | ||
test-uplink-redis-up-and-down.sh | ||
test-uplink-rs-download.sh | ||
test-uplink-rs-upload.sh | ||
test-uplink-share.sh | ||
test-uplink.sh | ||
test-wasm-size.sh | ||
update-access.go | ||
utils.sh |