# Map an IdP group to the SSH role through an OIDC connector.
# Replace okta with your connector name and engineers with the IdP
# group whose members should receive ssh-access.
apiVersion: almaforge.com/v1
kind: OIDCConnector
metadata:
  name: okta
spec:
  issuerURL: 'https://example.okta.com'
  clientID: '<client-id>'
  clientSecret: '<client-secret>'
  claimsToRoles:
    - claim: 'groups'
      value: 'engineers'
      roles: ['ssh-access']
