@@ -13,8 +13,13 @@ GRN Client ID [None]: <your-client-id>
1313GRN Client Secret [None]: <your-client-secret>
1414Default region name [HCM-3]:
1515Default output format [json]:
16+ Project ID (leave blank to auto-detect at runtime) [None]: pro-xxxxxxxx
1617```
1718
19+ ` Project ID ` is the VNG Cloud project UUID (e.g. ` pro-e28d4501-... ` ). Each user may
20+ have multiple projects; pick the one you work with. Leave blank to let downstream
21+ tools (such as the GreenNode MCP Server) auto-detect at first call.
22+
1823Credentials are obtained from the [ VNG Cloud IAM Portal] ( https://hcm-3.console.vngcloud.vn/iam/ ) under Service Accounts.
1924
2025## Credential resolution order
@@ -31,6 +36,7 @@ Credentials are resolved in the following order (highest to lowest priority):
3136| ` GRN_ACCESS_KEY_ID ` | Client ID (overrides credentials file) |
3237| ` GRN_SECRET_ACCESS_KEY ` | Client Secret (overrides credentials file) |
3338| ` GRN_DEFAULT_REGION ` | Default region |
39+ | ` GRN_DEFAULT_PROJECT_ID ` | Project ID (VNG Cloud project UUID) |
3440| ` GRN_PROFILE ` | Profile name (default: "default") |
3541| ` GRN_DEFAULT_OUTPUT ` | Output format |
3642
@@ -68,10 +74,12 @@ client_secret = yyy
6874[default]
6975region = HCM-3
7076output = json
77+ project_id = pro-xxxxxxxx
7178
7279[profile staging]
7380region = HAN
7481output = table
82+ project_id = pro-yyyyyyyy
7583```
7684
7785Credentials file is created with ` 0600 ` permissions (owner read/write only).
@@ -95,6 +103,7 @@ grn configure set region HAN # Set a specific value
95103 client_secret ****************c123 config-file ~/.greenode/credentials
96104 region HCM-3 config-file ~/.greenode/config
97105 output json config-file ~/.greenode/config
106+ project_id pro-xxxxxxxx config-file ~/.greenode/config
98107```
99108
100109## Profiles
0 commit comments