Skip to content

[FEA]: Usage of auth-tokens instead of username+password in services that interact with BMCs #460

@Matthias247

Description

@Matthias247

Within the service, various microservices interact with BMCs:

  • core
  • serial-console
  • hw-health
  • rms

All of them receive BMC credentials via certain APIs from the core service.

In order to limit the visibility of long-lived credentials, the services should be converted to use auth tokens, as provided by the redfish session service: https://www.dmtf.org/sites/default/files/Redfish_School-Sessions.pdf.

  • A process within core would authenticate against BMCs and generate session tokens
  • These session tokens would be shared with all consumers
  • Session tokens should be short-lived and get rotated. For each consumer there need to be at least 2 active tokens (current and next).

This approach requires the BMCs to support session APIs. If they are not available, the fallback option is to still share username and password for the affected hardware components.

Metadata

Metadata

Assignees

Labels

featureFeature (deprecated - use issue type, but it's needed for reporting now)rack lifecycleIssues that relate to managing the lifecycle of a full rack (compute, switches and powershelves)securityThings affecting host security (attestation, santization, etc)
No fields configured for Enhancement.

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions