UNPKG

@cloud-copilot/iam-simulate

Version:
19 lines 657 B
import { Policy } from '@cloud-copilot/iam-policy'; /** * Find all the context keys in a list of policies * * @param policies - The list of policies to search * @returns The list of valid and invalid context keys found in the policies */ export declare function findContextKeys(policies: Policy[]): Promise<{ validKeys: string[]; invalidKeys: string[]; }>; /** * Get the context variables used in a policy * * @param policy - The policy to extract variables from * @returns The list of variables used in the policy */ export declare function getContextKeysFromPolicy(policy: Policy): string[]; //# sourceMappingURL=findContextKeys.d.ts.map