sensu / sensu-go-chef

Chef Library Cookbook for Sensu Go
https://sensu.io
MIT License
11 stars 22 forks source link

Add OIDC auth integration resource #115

Closed webframp closed 3 years ago

webframp commented 3 years ago

This adds a resource for configuring OIDC for authentication.

The OIDC spec attributes are sufficiently different from Active Directory or LDAP methods that it is a different implementation but still following similar patterns to other resources in this cookbook.

This biggest challenge I see for users is the handling of the OIDC app registration "client secret" value. Users should however already have some method of handling sensitive values, such as chef-vault, Hashicorp vault or some other method that is expected to be compatible with their chef usage to provide a dynamic configuration value of chef-client runtime secrets.

For this reason I have noted in the example code that it is not recommended to hard code secret values in resource usage.


Pull Request Checklist

Is this in reference to an existing issue?

Yes, #81

General

New Features

Purpose

Allow configuraiton of OIDC authentication provider with a custom chef resource

Known Compatibility Issues

None