update()
update(
projectId,
accountId,
input
): Promise<{
api?: {
links?: Record<string, {
href: string;
}>;
redactions?: object[];
};
apiKeyPreview: string;
conflicts: {
clientData: unknown;
conflictedAt: number;
serverData: unknown;
};
createdAt?: string;
credentialSource?: "onepassword" | "inline" | "subscription-sign-in";
hasApiKey: boolean;
id: string;
metadata: {
displayName?: string | null;
provider: ExternalServiceProvider;
secretReferenceLabel?: string | null;
};
object: "external_service_account";
projectIds: string[];
sandboxMode: boolean;
secretMaterializationError?: string | null;
secretMaterializedAt?: string | null;
secretReference?: string | null;
secretsIntegrationId?: string | null;
serviceTypeIdentifier: ExternalServiceProvider;
tombstoned?: boolean;
tombstonedAt?: string | null;
updatedAt?: string;
}>;Replaces the account’s credential and metadata.
Parameters
projectId
string
accountId
string
input
Last updated on