(identifier: string)
| 210 | }; |
| 211 | |
| 212 | export const extractWorkloadIdentityId = (identifier: string) => { |
| 213 | const matches = identifier.match( |
| 214 | /^(?:workloadIdentity:|workloadIdentities\/)(.+)$/ |
| 215 | ); |
| 216 | return matches?.[1] ?? identifier; |
| 217 | }; |
| 218 | |
| 219 | export const getIdentityProviderResourceId = (name: string): ResourceId => { |
| 220 | const tokens = getNameParentTokens(name, [idpNamePrefix]); |
no outgoing calls
no test coverage detected