@brazosd/node 0.1.3 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/browser.d.ts +1261 -51
- package/browser.js +2671 -406
- package/index.d.ts +1261 -51
- package/index.js +2671 -406
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ For large uploads, use Node's `openAsBlob` to construct a file-backed `File`, an
|
|
|
106
106
|
|
|
107
107
|
## Authentication and permissions
|
|
108
108
|
|
|
109
|
-
Inside a cloud function, `createClient()` reads the access token and internal API URL from `/run/brazosd/identity/credentials.json`. The trusted runtime refreshes credentials and atomically replaces that file. Reads are coalesced and cached for at most one second, bounded by credential expiry. The SDK never reads a refresh token.
|
|
109
|
+
Inside a cloud function, `createClient()` reads the access token and internal API URL from `/run/brazosd/identity/credentials.json`. The trusted runtime refreshes credentials and atomically replaces that file. Reads are coalesced and cached for at most one second, bounded by credential expiry. The SDK never reads a refresh token. The runtime supplies the credentials outside the deployment directory after a warm-pool instance is assigned to a function.
|
|
110
110
|
|
|
111
111
|
A service user follows the same API authorization rules as other organization users. Enterprise service users start without grants; use existing user/group policies to grant API and resource access. Changes apply to subsequent API requests. Deactivating the service user or retiring the instance revokes access, including Anclax APIs. Creating a client does not grant permissions.
|
|
112
112
|
|