![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Node client for interfacting with ALKS services.
var alks = require('alks-node');
Returns array of valid session durations.
alks.getDurations();
Creates a new session key with the provided information. Returns a JSON document.
var data = {
alksAccount: 'alksAccount',
alksRole: 'alksRole',
sessionTime: 2,
server: 'endpoint',
userid: 'my-network-id',
password: 'my-network-password'
};
alks.createKey(data, 'password', 2, {}, function(err, key){
if(err) console.error(err);
else console.log(JSON.stringify(key));
});
Returns a collection of accounts.
alks.getAccounts('server', 'username', 'password', {}, function(err, accounts){
if(err) console.error(err);
else console.log(JSON.stringify(accounts));
});
Returns a AWS console URL for a given key. The URL is good for 15 minutes.
alks.generateConsoleUrl(alksKey, {}, function(err, url){
if(err) console.error(err);
else console.log('The console URL is: %s', url);
});
Returns a list of current IAM role types.
Generates a new session for use in creating IAM roles and console sessions.
Creates a new IAM role, provided account must contain valid ALKS IAM session.
Creates a new IAM trust role, provided account must contain valid ALKS IAM session.
Deletes a previously created IAM role, provided account must contain valid ALKS IAM session.
Creates a new longterm access key with the provided information. Returns a JSON document.
var data = {
alksAccount: 'alksAccount',
alksRole: 'alksRole',
server: 'endpoint',
userid: 'my-network-id',
password: 'my-network-password'
};
alks.createLongTermKey(data, 'password', 'iamUser', {}, function(err, ltk){
if(err) console.error(err);
else console.log(JSON.stringify(ltk));
});
Deletes a previously created longterm key role, provided account must contain valid ALKS IAM session.
var data = {
alksAccount: 'alksAccount',
alksRole: 'alksRole',
server: 'endpoint',
userid: 'my-network-id',
password: 'my-network-password'
};
alks.deleteLongTermKey(data, 'password', 'iamUser', {}, function(err, ltk){
if(err) console.error(err);
else console.log(JSON.stringify(ltk));
});
Exchanges a 2FA refresh token for an access token.
var data = {
alksAccount: 'alksAccount',
server: 'endpoint'
};
alks.refreshTokenToAccessToken('bLGjhD2HVh5x4TZfWoXF5aGxDRD3afnlONBxsjN7g8U', data, {}, function(err, ltk){
if(err) console.error(err);
else console.log(JSON.stringify(ltk));
});
FAQs
Node client for ALKS
The npm package alks-node receives a total of 22 weekly downloads. As such, alks-node popularity was classified as not popular.
We found that alks-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.