Skip to content

Commit 40f66a2

Browse files
committed
masked access token
1 parent 08801ff commit 40f66a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vault-sdk/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ export type SignStructuredMessageData = {
443443
export type AccessTokenData = {
444444
id: string; // UUID
445445
issuerId: string; // UUID
446-
// Only present if revealSensitive is true for the policy being used to read. Always returned for admin.
447-
accessToken?: string | null;
446+
// Only revealed if revealSensitive is true for the policy being used to read, otherwise redacted/masked
447+
accessToken: string;
448448
issuerType: OwnerType;
449449
policies: PolicyComponent[];
450450
expiresAt: string; // ISO date string

0 commit comments

Comments
 (0)