Skip to content

Add leader_cluster_address to sys/leader. - #204

Closed
Lasering wants to merge 1 commit into
hashicorp:masterfrom
Lasering:master
Closed

Add leader_cluster_address to sys/leader.#204
Lasering wants to merge 1 commit into
hashicorp:masterfrom
Lasering:master

Conversation

@Lasering

Copy link
Copy Markdown

Add the leader_cluster_address field returned from the leader endpoint.
https://www.vaultproject.io/api/system/leader.html

Add leader_cluster_address to sys/leader.
@hashicorp-cla

hashicorp-cla commented Jun 14, 2019

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Lasering

Copy link
Copy Markdown
Author

Is there any way I can help move this?

@Lasering

Lasering commented Dec 9, 2019

Copy link
Copy Markdown
Author

I can't retry the CI. It failed because it could not curl Vault. Can someone retry it?

@jefferai

jefferai commented Dec 9, 2019

Copy link
Copy Markdown
Member

Edit: failed to realize this was the vault-ruby repo when I clicked through, never mind.

@Lasering

Lasering commented Dec 9, 2019

Copy link
Copy Markdown
Author

@jefferai can you retry the CI? I'm pretty sure it will pass since it only failed on 1 job out of 12.

@Lasering

Copy link
Copy Markdown
Author

@jefferai is there anything I can do?

chrisarcand added a commit that referenced this pull request Feb 4, 2026
The Vault API returns a `leader_cluster_address` field from the
/sys/leader endpoint, which provides the cluster address where the
leader is running (distinct from `leader_address` which is the API
address).

This change exposes that field through the `LeaderStatus` response
object as `cluster_address`.

Changes:
- Added `leader_cluster_address` field to `LeaderStatus` class
- Added test coverage for the new field
- Updated example documentation
- Updated CHANGELOG

Fixes #204
chrisarcand added a commit to llafage-claranet/vault-ruby that referenced this pull request Feb 4, 2026
The Vault API returns a `leader_cluster_address` field from the
/sys/leader endpoint, which provides the cluster address where the
leader is running (distinct from `leader_address` which is the API
address).

This change exposes that field through the `LeaderStatus` response
object as `cluster_address`.

Changes:
- Added `leader_cluster_address` field to `LeaderStatus` class
- Added test coverage for the new field
- Updated example documentation
- Updated CHANGELOG

Fixes hashicorp#204
@chrisarcand chrisarcand mentioned this pull request Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants