Skip to content

Commit 9ab8c54

Browse files
author
serverpod_cloud
committed
feat(gc): e3f756e5269d444f9a1bee8800b914a01262a998
1 parent 873bba0 commit 9ab8c54

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

ground_control_client/lib/src/protocol/client.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,20 @@ class EndpointSecrets extends _i1.EndpointRef {
923923
caller.callServerEndpoint<List<String>>('secrets', 'list', {
924924
'cloudCapsuleId': cloudCapsuleId,
925925
});
926+
927+
/// Lists platform-managed secret keys for a cloud capsule.
928+
///
929+
/// Returns only the keys of managed secrets (no values). Unlike [list],
930+
/// this method filters to platform-managed secrets only, excluding
931+
/// user-created custom secrets.
932+
///
933+
/// Requires capsule authorization.
934+
///
935+
/// Throws [NotFoundException] if the capsule is not found.
936+
_i2.Future<List<String>> listManaged(String cloudCapsuleId) =>
937+
caller.callServerEndpoint<List<String>>('secrets', 'listManaged', {
938+
'cloudCapsuleId': cloudCapsuleId,
939+
});
926940
}
927941

928942
/// Endpoint for accessing capsule deployment status.

0 commit comments

Comments
 (0)