mirror of
https://github.com/googleworkspace/cli.git
synced 2026-09-14 16:47:13 +08:00
chore: release versions (#199)
This commit is contained in:
committed by
GitHub
parent
d4080512b1
commit
0ba49d1584
@@ -1,19 +0,0 @@
|
||||
---
|
||||
"@googleworkspace/cli": minor
|
||||
---
|
||||
|
||||
Add Application Default Credentials (ADC) support.
|
||||
|
||||
`gws` now discovers ADC as a fourth credential source, after the encrypted
|
||||
and plaintext credential files. The lookup order is:
|
||||
|
||||
1. `GOOGLE_WORKSPACE_CLI_TOKEN` env var (raw access token, highest priority)
|
||||
2. `GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE` env var
|
||||
3. Encrypted credentials (`~/.config/gws/credentials.enc`)
|
||||
4. Plaintext credentials (`~/.config/gws/credentials.json`)
|
||||
5. **ADC** — `GOOGLE_APPLICATION_CREDENTIALS` env var (hard error if file missing), then
|
||||
`~/.config/gcloud/application_default_credentials.json` (silent if absent)
|
||||
|
||||
This means `gcloud auth application-default login --client-id-file=client_secret.json`
|
||||
is now a fully supported auth flow — no need to run `gws auth login` separately.
|
||||
Both `authorized_user` and `service_account` ADC formats are supported.
|
||||
@@ -1,5 +1,25 @@
|
||||
# @googleworkspace/cli
|
||||
|
||||
## 0.6.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- b38b760: Add Application Default Credentials (ADC) support.
|
||||
|
||||
`gws` now discovers ADC as a fourth credential source, after the encrypted
|
||||
and plaintext credential files. The lookup order is:
|
||||
|
||||
1. `GOOGLE_WORKSPACE_CLI_TOKEN` env var (raw access token, highest priority)
|
||||
2. `GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE` env var
|
||||
3. Encrypted credentials (`~/.config/gws/credentials.enc`)
|
||||
4. Plaintext credentials (`~/.config/gws/credentials.json`)
|
||||
5. **ADC** — `GOOGLE_APPLICATION_CREDENTIALS` env var (hard error if file missing), then
|
||||
`~/.config/gcloud/application_default_credentials.json` (silent if absent)
|
||||
|
||||
This means `gcloud auth application-default login --client-id-file=client_secret.json`
|
||||
is now a fully supported auth flow — no need to run `gws auth login` separately.
|
||||
Both `authorized_user` and `service_account` ADC formats are supported.
|
||||
|
||||
## 0.5.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
Generated
+1
-1
@@ -845,7 +845,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gws"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
dependencies = [
|
||||
"aes-gcm",
|
||||
"anyhow",
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
|
||||
[package]
|
||||
name = "gws"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
edition = "2021"
|
||||
description = "Google Workspace CLI — dynamic command surface from Discovery Service"
|
||||
license = "Apache-2.0"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@googleworkspace/cli",
|
||||
"version": "0.5.0",
|
||||
"version": "0.6.0",
|
||||
"private": true,
|
||||
"description": "Google Workspace CLI — dynamic command surface from Discovery Service",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Reference in New Issue
Block a user