Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans for block-level configuration instead of YAML? #84

Open
Gedrovits opened this issue Dec 6, 2016 · 2 comments
Open

Plans for block-level configuration instead of YAML? #84

Gedrovits opened this issue Dec 6, 2016 · 2 comments

Comments

@Gedrovits
Copy link

Is there plans to allow configuring Skylight on block-level?

Skylight.configure do |config|
  config.authentication = Rails.application.secrets.skylight_authentication_token
  config.ignored_endpoints = ['ApplicationController#foo']
end
@wagenet
Copy link
Contributor

wagenet commented Jan 10, 2017

We don't have plans for this yet, but it's not a bad idea. I'll keep it in mind for the future.

@ryanb
Copy link

ryanb commented Nov 8, 2023

I'd love to see this too. In the meantime it works to reference Rails credentials in the skylight.yml file.

# skylight.yml
authentication: <%= Rails.application.credentials.skylight.authentication %>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants