aws-okta icon indicating copy to clipboard operation
aws-okta copied to clipboard

ATTENTION: aws-okta is on indefinite hiatus

Open nickatsegment opened this issue 6 years ago • 36 comments

Hi all. Unfortunately Segment (and specifically I) will no longer be maintaining aws-okta, for the foreseeable future.

I tried to revive aws-okta with v2, but unfortunately it's just proven to be too much of a time sink to justify.

Several other OSS projects exist that can do what aws-okta does. saml2aws stands out in particular, with a nicer TUI, more providers, lots of MFA options, etc. I haven't done a security audit or anything, but at first blush it looks pretty competent and well-organized. It stores your session creds on disk instead of in a keyring, but I believe chaining this with aws-vault somehow would give you roughly the same level of protection.

I might also recommend forking aws-okta, perhaps starting from my 2.0.0-rc1 branch. I couldn't detangle some of the lesser used features.

I'm going to leave Issues and PRs open for a while, but only for critical, straight-forward bug fixes. No new features will be developed or added.

v1.0.0 is the final major release.

nickatsegment avatar Jan 20 '20 21:01 nickatsegment

Shameless plug:

Since I know some of the motivation for 2.x was to provide a pkg interface as well as a CLI, figured I would call out the project okta-auth. It provides an interface for driving the user authentication portion of the flow, resulting in an Okta session token.

It doesn't cover 100% of the functionality of aws-okta (notably obtaining AWS credentials from the Okta session), but can be used as a building block towards that goal.

It's used internally at Fair to power our CLI for obtaining AWS credentials, as well as some internal application credentials not associated with AWS.

marshallbrekka avatar Jan 20 '20 22:01 marshallbrekka

That's awesome; plugs encouraged! Part of the reason I had to give up was the feeling that with some work we could reuse parts of other FOSS instead of writing our own. But then aws-okta would just be a wrapper around the pkgs of saml2aws or something similar.

Personally it feels to me like everybody should probably just build their own in-house aws-okta-like. Making a tool to serve every use case is way too hard.

nickatsegment avatar Jan 20 '20 22:01 nickatsegment

Who owns the brew package? Is there a chance segment will ever continue this, or will someone at segment be able to promote brew to a new maintainer when a fork ultimately takes over?

Alternately, perhaps there should be an aws-okta/aws-okta account on GitHub, and you can bless some of your favorite maintainers to take over the project.

jspiro avatar Jan 22 '20 00:01 jspiro

Thank you for the work that you've already done here @nickatsegment, I can understand how much time it'd be to support and maintain this tool.

Yours is one of the better polished services and I've been using it for a little while now.

/salute

j0nathontayl0r avatar Jan 22 '20 00:01 j0nathontayl0r

Who owns the brew package?

The brew package is maintained by non-Segmenters. So they could choose to use a new fork.

Alternately, perhaps there should be an aws-okta/aws-okta account on GitHub

Yep, that's an idea. Someone can make an org. But I wouldn't trust that fork any more than e.g. github.com/rando_calrissian/aws-okta unless it had some elaborate foundation behind it or something.

nickatsegment avatar Jan 22 '20 00:01 nickatsegment

Thanks for the mention @nickatsegment I have added the super handy console login option to https://github.com/Versent/saml2aws/pull/410

There are some great ideas in aws-okta which I am hoping to adapt to saml2aws especially some of the caching and security features.

Cheers.

wolfeidau avatar Jan 24 '20 04:01 wolfeidau

Hi all. Unfortunately Segment (and specifically I) will no longer be maintaining aws-okta, for the foreseeable future.

I tried to revive aws-okta with v2, but unfortunately it's just proven to be too much of a time sink to justify.

Several other OSS projects exist that can do what aws-okta does. https://github.com/Versent/saml2aws stands out in particular, ...

I don't think that link works. It takes you to issues for aws-okta.

The link should be https://github.com/Versent/saml2aws

queue-tip avatar Jan 30 '20 17:01 queue-tip

Fixed! I know markdown, I swear.

nickatsegment avatar Jan 30 '20 18:01 nickatsegment

Would y'all be amenable to transferring this repository to folks interested in maintaining the project moving forward?

(If not, it would be cool if any folks who plan on forking the repo and continuing to work in it share their intentions here 😉.)

jeffwecan avatar Feb 04 '20 22:02 jeffwecan

@jeffwecan I personally am into transferring ownership. I'll have to look into if there are any company policies around this (namely Legal).

Also, I'm pretty sure any random can make an aws-okta/aws-okta org and repo and copy the history there. I.e., technically, I'm not sure you need my sign-off.

nickatsegment avatar Feb 04 '20 23:02 nickatsegment

Actually, I think unless there's a serious effort to share maintenance (it's not just one person/company), you may as well just put it under your personal/company org. aws-okta/aws-okta makes it seem like there's some sort of foundation behind it.

nickatsegment avatar Feb 04 '20 23:02 nickatsegment

I'll of course grant that, as far as git history is concerned, the distinction of original repository versus fork isn't that important. I just imagine the historical GitHub metadata would be more readily accessible for users with the continuity a transfer would enable.

On your last comment, I agree that a generic organization is generally the best route for a widely used project if it's no longer to be tied to a specific individual or business (and is the route I took when leaning in on https://github.com/hvac/hvac). An "unattached" organization seems to make it far easier to potentially recruit additional maintainers down the line ☺.

In any case, thanks for scoping it out!

jeffwecan avatar Feb 04 '20 23:02 jeffwecan

Yeah, I suppose if we just did a copy instead of transfer, we'd lose all the tickets.

nickatsegment avatar Feb 06 '20 01:02 nickatsegment

It looks like somebody already did this: https://github.com/aws-okta/ . Does anyone know who? There are no public organization members. I am a fan of aws-okta, is there any reason (upcoming api deprecation, etc) that it needs a major revamp? Sometimes software continues to be useful without frequent revision outside of bugfixes. I have considered some minor improvements (and have some locally). It has been so effective for us, that I would hate to direct people away from it like in c6464aebbfff253b72e3e6360a078be69e2d5726

eldondevat avatar Feb 07 '20 18:02 eldondevat

@eldondevat: I provisioned https://github.com/aws-okta/ the other day after we chatted about it here. Happy to add anyone else as collaborators to that organization if folks want to start making contributions to that fork.

jeffwecan avatar Feb 07 '20 18:02 jeffwecan

Yeah, @nickatsegment @jeffwecan I don't even see a way to create issues on /aws-okta/aws-okta as-is

eldondevat avatar Feb 13 '20 23:02 eldondevat

@eldondevat: I've toggled on the "Issues" feature for https://github.com/aws-okta/aws-okta now. 👍

jeffwecan avatar Feb 14 '20 15:02 jeffwecan

👍 to keeping aws-okta alive in some form. We rely on it for important workflows and it has no match in terms of features and ease-of-use (sorry saml2aws). We're hoping we have the skill set to at least maintain the current functionality.

arohter avatar Feb 18 '20 09:02 arohter

Is it worth considering rolling SAML capabilities into aws-vault? There are a couple of open issues in aws-vault suggesting exactly that https://github.com/99designs/aws-vault/issues/235 https://github.com/99designs/aws-vault/issues/449

mtibben avatar Feb 20 '20 02:02 mtibben

Is it worth considering rolling SAML capabilities into aws-vault?

Not a bad idea, but the genesis of aws-okta was basically a reaction to aws-vault not wanting that much scope expansion. So even if you submitted a PR, I doubt they'd want it. It's a huge maintenance burden.

nickatsegment avatar Feb 20 '20 20:02 nickatsegment