Skip to content

Should clientconfig be used? #3216

@cacack

Description

@cacack

The docs on pkg.go.dev reference the use of clientconfig as the preferred way to perform auth (https://pkg.go.dev/github.com/gophercloud/gophercloud/v2?utm_source=godoc#hdr-Authenticating_with_Providers):

It is now recommended to use the clientconfig package found at https://github.com/gophercloud/utils/tree/master/openstack/clientconfig for all authentication purposes.

The below documentation is still relevant. clientconfig simply implements the below and presents it in an easier and more flexible way.

But the README in the repo doesn't reference that. Additionally, the repo provides a different pattern for auth compare the the "manual" way presented in pkg.go.dev.

Should clientconfig still be used? What is the recommended auth way?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions